[##include file="common/header.tpl.php" page_title='回复留言'##]

[##include file="common/nav.tpl.php"##]

[##include file="profile/nav.tpl.php" cur_tab='message'##]

<p>
<strong>留言板</strong><br />
<small><a href="[##$siteurl##]/?m=message&amp;uin=[##$owner_uin##]&amp;sid=[##$skey##]">返回[##$userinfo.name##]的留言本</a></small>
</p>

-----------------
<br />

<p>
<a href="[##$siteurl##]/?m=profile&amp;uin=[##$message.send_uin##]&amp;sid=[##$skey##]">[##$message.send_uin_name##]</a>[[##if $message.send_uin_sex == 2##]女[##else##]男[##/if##]] [##$message.content|escape##] &nbsp; <small>[##$message.time|formatTime##]</small>
[##if !empty($message.reply)##]
	[##foreach from=$message.reply item=reply##]
	<br />
	&nbsp; &nbsp; &nbsp; &nbsp; <a href="[##$siteurl##]/?m=profile&amp;uin=[##$reply.uin##]&amp;sid=[##$skey##]">[##$reply.name##]</a>[[##if $reply.sex == 2##]女[##else##]男[##/if##]] [##$reply.content|escape##] &nbsp; <small>[##$reply.time|formatTime##]</small>
	[##/foreach##]
[##/if##]
</p>

[##if $message.uin == $uin || $message.send_uin == $uin##]
<p>
<input name="content" type="text" /> 
<anchor>回复
<go href="[##$siteurl##]/?m=message&amp;a=doreply&amp;sid=[##$skey##]" method="post">
	<postfield name="owner_uin" value="[##$owner_uin##]"/>
	<postfield name="id" value="[##$id##]"/>
	<postfield name="content" value="$content"/>
	<postfield name="back_url" value="[##$REQUEST_URI##]"/>
</go>
</anchor>
</p>
[##/if##]


[##include file="common/footer_nav.tpl.php"##]

[##include file="common/footer.tpl.php"##]